\hypertarget{classMysql}{\section{Mysql类 参考}
\label{classMysql}\index{Mysql@{Mysql}}
}
类 Mysql 继承关系图\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classMysql}
\end{center}
\end{figure}
\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classMysql_a0a87c674a132fb336b59117ad309b803}{connect} ()
\item 
\hyperlink{classMysql_ad06105e20b479c284190240ee35f9912}{query} (\$sql)
\item 
\hyperlink{classMysql_ac941f1ad4937284bbfbe3dee1ceafe79}{execute} (\$sql)
\item 
\hyperlink{classMysql_a57ac0ed7baea4f4fc35e985cb6c0f216}{fetch\-\_\-array} (\$handler)
\item 
\hyperlink{classMysql_a54a9212fe705b83e1f7b4a82e1080cf4}{insert\-\_\-id} ()
\item 
\hyperlink{classMysql_a9cc3d1182861cd5b4e66b6a8626cd27d}{free\-\_\-reslut} ()
\item 
\hyperlink{classMysql_a26ef6269ea743d9d8dda26c787d1ebbd}{error} ()
\item 
\hyperlink{classMysql_a51759fb0114e6e77e787bb06d8adf13a}{erron} ()
\item 
\hyperlink{classMysql_a1439b8fc6d55d86080d925b92ad19e87}{affected\-\_\-rows} ()
\end{DoxyCompactItemize}
\subsection*{额外继承的成员函数}


\subsection{详细描述}
mysql数据库操作 驱动类 \begin{DoxyAuthor}{作者}
七觞酒  \href{mailto:739800600@qq.com}{\tt 739800600@qq.\-com} 
\end{DoxyAuthor}
\begin{DoxyDate}{日期}
2013-\/1-\/19 
\end{DoxyDate}


\subsection{成员函数说明}
\hypertarget{classMysql_a1439b8fc6d55d86080d925b92ad19e87}{\index{Mysql@{Mysql}!affected\-\_\-rows@{affected\-\_\-rows}}
\index{affected\-\_\-rows@{affected\-\_\-rows}!Mysql@{Mysql}}
\subsubsection[{affected\-\_\-rows}]{\setlength{\rightskip}{0pt plus 5cm}Mysql\-::affected\-\_\-rows (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classMysql_a1439b8fc6d55d86080d925b92ad19e87}
返回最后一次操作数据库影响的条数 \hypertarget{classMysql_a0a87c674a132fb336b59117ad309b803}{\index{Mysql@{Mysql}!connect@{connect}}
\index{connect@{connect}!Mysql@{Mysql}}
\subsubsection[{connect}]{\setlength{\rightskip}{0pt plus 5cm}Mysql\-::connect (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classMysql_a0a87c674a132fb336b59117ad309b803}
连接数据库 \hypertarget{classMysql_a51759fb0114e6e77e787bb06d8adf13a}{\index{Mysql@{Mysql}!erron@{erron}}
\index{erron@{erron}!Mysql@{Mysql}}
\subsubsection[{erron}]{\setlength{\rightskip}{0pt plus 5cm}Mysql\-::erron (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classMysql_a51759fb0114e6e77e787bb06d8adf13a}
返回mysql 操作中的文本错误编码 \hypertarget{classMysql_a26ef6269ea743d9d8dda26c787d1ebbd}{\index{Mysql@{Mysql}!error@{error}}
\index{error@{error}!Mysql@{Mysql}}
\subsubsection[{error}]{\setlength{\rightskip}{0pt plus 5cm}Mysql\-::error (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classMysql_a26ef6269ea743d9d8dda26c787d1ebbd}
获取mysql产生的文本错误信息 \hypertarget{classMysql_ac941f1ad4937284bbfbe3dee1ceafe79}{\index{Mysql@{Mysql}!execute@{execute}}
\index{execute@{execute}!Mysql@{Mysql}}
\subsubsection[{execute}]{\setlength{\rightskip}{0pt plus 5cm}Mysql\-::execute (
\begin{DoxyParamCaption}
\item[{}]{\$sql}
\end{DoxyParamCaption}
)}}\label{classMysql_ac941f1ad4937284bbfbe3dee1ceafe79}
执行mysql 语句 \hypertarget{classMysql_a57ac0ed7baea4f4fc35e985cb6c0f216}{\index{Mysql@{Mysql}!fetch\-\_\-array@{fetch\-\_\-array}}
\index{fetch\-\_\-array@{fetch\-\_\-array}!Mysql@{Mysql}}
\subsubsection[{fetch\-\_\-array}]{\setlength{\rightskip}{0pt plus 5cm}Mysql\-::fetch\-\_\-array (
\begin{DoxyParamCaption}
\item[{}]{\$handler}
\end{DoxyParamCaption}
)}}\label{classMysql_a57ac0ed7baea4f4fc35e985cb6c0f216}
将mysql查询结果转化为数组 \hypertarget{classMysql_a9cc3d1182861cd5b4e66b6a8626cd27d}{\index{Mysql@{Mysql}!free\-\_\-reslut@{free\-\_\-reslut}}
\index{free\-\_\-reslut@{free\-\_\-reslut}!Mysql@{Mysql}}
\subsubsection[{free\-\_\-reslut}]{\setlength{\rightskip}{0pt plus 5cm}Mysql\-::free\-\_\-reslut (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classMysql_a9cc3d1182861cd5b4e66b6a8626cd27d}
释放查询资源 \hypertarget{classMysql_a54a9212fe705b83e1f7b4a82e1080cf4}{\index{Mysql@{Mysql}!insert\-\_\-id@{insert\-\_\-id}}
\index{insert\-\_\-id@{insert\-\_\-id}!Mysql@{Mysql}}
\subsubsection[{insert\-\_\-id}]{\setlength{\rightskip}{0pt plus 5cm}Mysql\-::insert\-\_\-id (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classMysql_a54a9212fe705b83e1f7b4a82e1080cf4}
获取最后一次添加数据的主键号 \hypertarget{classMysql_ad06105e20b479c284190240ee35f9912}{\index{Mysql@{Mysql}!query@{query}}
\index{query@{query}!Mysql@{Mysql}}
\subsubsection[{query}]{\setlength{\rightskip}{0pt plus 5cm}Mysql\-::query (
\begin{DoxyParamCaption}
\item[{}]{\$sql}
\end{DoxyParamCaption}
)}}\label{classMysql_ad06105e20b479c284190240ee35f9912}
执行基本的 mysql查询 

该类的文档由以下文件生成\-:\begin{DoxyCompactItemize}
\item 
templi/\-Model/Mysql.\-class.\-php\end{DoxyCompactItemize}
